package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.dto.WarehouseAreaDTO;
import com.itheima.pojo.WarehouseArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WarehouseAreaMapper extends BaseMapper<WarehouseArea> {
    Page<WarehouseAreaDTO> selectWarehouseAreaPage(Page<WarehouseAreaDTO> page, @Param("dto") WarehouseAreaDTO dto);

    WarehouseArea selectByIdWithDel(@Param("id") Integer id);
}